<?php
/*
 * 数据配置
 */
class Data {
	private static $datas = array(
		array(
			'url'=>'https://reg.jd.com/notify/mobileCode',
			'data'=>'r={$rand}&mobile={$mobile}',
			'referer'=>'https://reg.jd.com/reg/person?ReturnUrl=http%3A%2F%2Fwww.jd.com'
		),
		
		// 仅移动
		array(
			'url'=>'https://bj.ac.10086.cn/ac/tempPwdSend',
			'post'=> true,
			'data'=>'mobile={$mobile}',
		),
		
		array(
			'url'=>'https://register.shengpay.com/personal/sendRegisterSms.htm',
			'post'=> true, 'data'=> 'mobile={$mobile}',
		),
		
		array(
			'url'=>'https://member.suning.com/emall/SendMobileCodeCmd',
			'post'=> true,
			'data'=>'scenario=mobileRegister&mobile={$mobile}'
		),
		
		array(
			'url'=>'https://passport.baidu.com/v2/',
			'data'=>'regphonesend&token=&tpl=mn&apiver=v3&tt={$time}&phone={$mobile}&callback=bd__cbs__7tzmph'
		),
		
		array(
			'type'=>'complex',
			'referer'=> 'http://reg.email.163.com/unireg/call.do?cmd=register.entrance&from=163navi&regPage=163',
			'cookie'=> '163.cookie',
			'list'=> array(
				array(
					'url'=>'http://reg.email.163.com/unireg/call.do?cmd=register.entrance&from=163navi&regPage=163',
					'data'=>'',
					'log'=> false
				),
				array(
					'url'=>'http://reg.email.163.com/unireg/call.do?cmd=added.mobilemail.checkBinding',
					'data'=>'mobile={$mobile}',
					'post'=>true
				),
				array(
					'url'=>'http://reg.email.163.com/unireg/call.do?cmd=added.mobileverify.sendAcode',
					'data'=>'mobile={$mobile}&uid={$mobile}@163.com&mark=mobile_start',
					'post'=>true
				),
			)
		),
		
		array(
			'type'=>'complex',
			'referer'=> 'https://login.sina.com.cn/signup/signup?entry=blog&srcuid=1606934341&src=blogicp',
			'cookie'=> false,
			'list'=> array(
				array(
					'url'=>'https://login.sina.com.cn/signup/check_user.php',
					'data'=>'name={$mobile}&format=json&from=mobile',
					'post'=> true
				),
				array(
					'url'=>'https://login.sina.com.cn/signup/message',
					'data'=>'mobile={$mobile}',
					'post'=>true
				),
			)
		),
		
		array(
			'type'=>'complex',
			'referer'=> 'http://register.bianfeng.com/gaea/phone_default.aspx?from=205&zone=web',
			'cookie'=> 'bianfeng.cookie',
			'list'=> array(
				array(
					'url'=>'http://register.bianfeng.com/gaea/phone_default.aspx?from=205&zone=web',
					'data'=>'',
					'log'=> false
				),
				array(
					'url'=>'http://authleqr.bianfeng.com/lars/check-account-types.jsonp',
					'data'=>'callback=jQuery16207952014426700123_{$millisecond}&userId={$mobile}&_={$millisecond}',
				),
				array(
					'url'=>'http://register.bianfeng.com/gaea/SendPhoneMsg.ashx?page=REG&mobile={$mobile}',
					'data'=>'page=REG&mobile={$mobile}',
					'post'=>true
				),
			)
		),
		
		array(
			'url'=>'http://i.360.cn/smsApi/sendsmscode',
			'referer'=> 'http://i.360.cn/reg/?src=pcw_home&destUrl=http%3A%2F%2Fwww.360.cn%2F',
			'data'=> 'account={$mobile}&condition=2&r={$rand}&callback=QiUserJsonP{$millisecond}',
		),
		
		array(
			'url'=>'http://passport.iqiyi.com/apis/phone/send_cellphone_authcode.action?t={$millisecond}',
			'post'=> true,
			'data'=>'requestType=1&cellphoneNumber={$mobile}&serviceId=2'
		),
		
		array(
			'url'=>'https://login.dangdang.com/p/send_mobile_vcode.php',
			'post'=> true,
			'data'=>'custid=0&mobile_phone={$mobile}&verify_type=5'
		)
	);
	
	public static function getDatas() {
		return self::$datas;
	}
	
	/*** 等待实现：
	
	http://gd.189.cn/common/login.jsp?UATicket=-1&loginOldUri=null
	
	http://register.sdo.com/register/index
		http://cas.sdo.com/authen/checkAccountType.jsonp?callback=checkAccountType_JSONPMethod&serviceUrl=register.sdo.com&appId=10&areaId=-1&authenSource=2&inputUserId=15801190074&locale=zh_CN&productId=1&productVersion=2.1&version=21&_=1388134980298
		http://t.sdo.com/home/SendSms?mobile=15801190074&t=0.25858767912723124
	
	*/
}